package com.ztgf.order.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class OrderSalesCategoryNewVO implements Serializable {

    @ApiModelProperty(value = "类目id")
    private Long id;

    @ApiModelProperty(value = "类目名称")
    private String categoryName;

    @ApiModelProperty(value = "订单销量")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal orderPrice;
}
